package cn.sunshine.ymcc.exception;

import lombok.Data;

/*
 * @Title:
 * @Description: 全局异常处理类
 * @Author: Mr.Jiang
 * @Version: 1.0
 * @Date:  2022/8/5 09:31
 * @Parameters:
 * @Return
 */
@Data
public class GlobleException extends RuntimeException {
    private  String code;

    public GlobleException(String code, String message){
        super(message);
        this.code =code;
    }

}
